// reset.scss
* {
  box-sizing: border-box;
  word-break: break-all;
}
// 通用的重置样式
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

// HTML5元素重置样式
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

// 移除列表样式
ul,
ol {
  list-style: none;
}

// 链接样式
a {
  text-decoration: none;
  color: inherit;
}

// 媒体元素样式
img,
embed,
object,
audio,
video {
  max-width: 100%;
}

// 表单元素样式
button,
input,
select,
textarea {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
  appearance: none; // 移除部分浏览器的默认样式（如iOS的外观）
  &:focus {
    outline: none; // 移除表单元素获得焦点时的虚线框
  }
}

// 其他常用元素重置样式
blockquote,
q {
  quotes: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
